RxJS in Action

RxJS in Action

  • Downloads:2179
  • Type:Epub+TxT+PDF+Mobi
  • Create Date:2021-09-17 09:53:50
  • Update Date:2025-09-06
  • Status:finish
  • Author:Paul P. Daniels
  • ISBN:1617293415
  • Environment:PC/Android/iPhone/iPad/Kindle

Summary

Summary

RxJS in Action gives you the development skills you need to create reactive applications with RxJS。 This book is full of theory and practical examples that build on each other and help you begin thinking in a reactive manner。 Foreword by Ben Lesh, Project lead, RxJS 5。

Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications。

About the Technology

On the web, events and messages flow constantly between UI and server components。 With RxJS, you can filter, merge, and transform these streams directly, opening the world of data flow programming to browser-based apps。 This JavaScript implementation of the ReactiveX spec is perfect for on-the-fly tasks like autocomplete。 Its asynchronous communication model makes concurrency much, much easier。

About the Book

RxJS in Action is your guide to building a reactive web UI using RxJS。 You'll begin with an intro to stream-based programming as you explore the power of RxJS through practical examples。 With the core concepts in hand, you'll tackle production techniques like error handling, unit testing, and interacting with frameworks like React and Redux。 And because RxJS builds on ideas from the world of functional programming, you'll even pick up some key FP concepts along the way。

What's Inside

Building clean, declarative, fault-tolerant applications
Transforming and composing streams
Taming asynchronous processes
Integrating streams with third-party libraries
Covers RxJS 5

About the Reader

This book is suitable for readers comfortable with JavaScript and standard web application architectures。

About the Author

Paul P。 Daniels is a professional software engineer with experience in 。NET, Java, and JavaScript。 Luis Atencio is a software engineer working daily with Java, PHP, and JavaScript platforms, and author of Manning's Functional Programming in JavaScript。

Table of Contents


PART 1 - UNDERSTANDING STREAMS
Thinking reactively
Reacting with RxJS
Core operators
It's about time you used RxJS
PART 2 - OBSERVABLES IN PRACTICE
Applied reactive streams
Coordinating business processes
Error handling with RxJS
PART 3 MASTERING RXJS
Heating up observables
Toward testable, reactive programs
RxJS in the wild

Download

Reviews

David

I hate to give this such a poor review, especially after author Luis Atencio was so gracious and personable in his communication with me on the Manning Live Book website version of this text - I know he cares。But about halfway through the book, I figured out what bothered me about it:Functional programming is about purity and lack of side-effects, right?Well, then isn't it ironic how much this book depends on the outside world in order to function? What I mean by that is that so few of the examp I hate to give this such a poor review, especially after author Luis Atencio was so gracious and personable in his communication with me on the Manning Live Book website version of this text - I know he cares。But about halfway through the book, I figured out what bothered me about it:Functional programming is about purity and lack of side-effects, right?Well, then isn't it ironic how much this book depends on the outside world in order to function? What I mean by that is that so few of the examples are stand-alone and complete。 Obviously we need to have the RxJS library itself。 That's an understandable dependency。But this book's examples require all sorts of external libraries and APIs (many of which no longer exist or have changed substantially。) One of the examples even required that I create accounts on services。I might even forgive the use of other external libraries, but they're seldom used more than once or twice。 Then it's on to the next one。 The result is that you're constantly installing and learning new things and getting distracted from the core issue: learning RxJS!And quite frankly, RxJS is plenty hard to learn all on its own。Also, many of the examples flat out won't work as-is。 As for the body of the text, it varies greatly in quality。 Some of it is fine, but there is a ton of redundant text, particularly near the beginning which does not help elucidate anything。 Most of it is no more helpful than, "RxJS is really great。"Sadly, I challenge anyone who is not already an expert on the subject to learn anything from the final chapters。I absolutely did learn things from this book - particularly the "early middle" chapters。 But I cannot recommend it over website tutorials and official documentation。 :-( 。。。more

Temo Tchanukvadze

RXJS is a mystery and this book helped me to implement it "in Action"。 It gave me some good insights about declarative programming。 I do highly recommend read Rxjs in Action with Professor Frisby's Mostly Adequate Guide to Functional Programming or any FP book to grasp the concept of FRP。 RXJS is a mystery and this book helped me to implement it "in Action"。 It gave me some good insights about declarative programming。 I do highly recommend read Rxjs in Action with Professor Frisby's Mostly Adequate Guide to Functional Programming or any FP book to grasp the concept of FRP。 。。。more

Dmitry Marcautsan

Beware the book is based on RxJS 5 which is outdated now and replaced by version 6 that introduces completely revamped piping constructs。 Though not really an issue as it teaches mostly 'approaching' problems with reactive mindset。 A chapter on integration with Redux was also a usable addition to me。 Beware the book is based on RxJS 5 which is outdated now and replaced by version 6 that introduces completely revamped piping constructs。 Though not really an issue as it teaches mostly 'approaching' problems with reactive mindset。 A chapter on integration with Redux was also a usable addition to me。 。。。more

vesper

Rx is huge and the book feels like a gentle introduction to it (albeit in slightly more than 300 pages), but I find both the introduction and the "in the wild" part somewhat lacking (and I'm not exactly sure what's in between)。 The intro has to deal with functional programming aspects and scratch the surface of advanced topics we never dwell on, while the ending part to me lacked real life usage, I only got the react (no jsx, uhh) part, but the whole "epic" (as opposed to sagas and thunks) thing Rx is huge and the book feels like a gentle introduction to it (albeit in slightly more than 300 pages), but I find both the introduction and the "in the wild" part somewhat lacking (and I'm not exactly sure what's in between)。 The intro has to deal with functional programming aspects and scratch the surface of advanced topics we never dwell on, while the ending part to me lacked real life usage, I only got the react (no jsx, uhh) part, but the whole "epic" (as opposed to sagas and thunks) thing was way above my level。Probably there is no good middle ground here, either you arrive with the required fp background (and know about streams, event emitters, event buses, circular stores, concepts of immutability, used ramda or lodash-fp before) or you're spoon fed some sugary bits, given some examples how RxJs works and then you're thrown into the pool with epics。 If you know how to swim, you already are here as a swimmer, if not, you will probably know **about** swimming, but you will drown nevertheless。 。。。more

Yaroslav

Great book! But before reading it you should try to learn more about Functional Programming principles。 For example, FP in JavaScript。 Also regarding the last chapter it will be great to have some background knowledge of using Redux and React。